<?php 
	$this->load->view('header');
	$this->load->view('header_end');
	$this->load->view('modules/banner_menu_top');
?>
<div id="content">
	<div id="left_column">
		<?php 
			$this->load->view('modules/mod_menu_left');
			$this->load->view('modules/mod_info_left');
			$this->load->view('modules/mod_other_left');
		?>
	</div>
	<div id="main_column">
		<div id="page">
			<?php $section = get_section_news_byid($nid_sec); ?>
			<?php 
				if($nid_cat != '' || $nid_cat != 0)
					$cat = get_mod_cat_news_byid($nid_cat); 
			?>
			<h4 class="title_page">
				<?php echo $cat['ccat_news'] ;?>
			</h4>		
			
			<div class="blog_items">
				<?php  
					foreach($obj_new_list as $data): 
				?>
				<div class="blog_item_mod">
					<?php if($data['cimage_thumb'] != ''): ?>
						<a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>"><img src="<?php  echo base_url().'upload/image_article/'.$data['cimage_thumb'] ?>" alt="<?php echo $data['cimage_thumb'] ?>" style="margin:0 15px 10px 0; width:150px; height:150px" align="left"/></a>
					<?php endif; ?>
					<h4><a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>"><?php echo $data['ctitle']; ?></a></h4>
					<p><?php echo $data['cshort_content'] ?></p>
					<p class="detail_link"><a href="<?php echo base_url().'news/detail/'.$data['nid'] ?>"><?php echo $this->lang->line('lbl_link_detail'); ?>...</a></p>
					<div class="clear"></div>
				</div>	
				<?php
					endforeach; 
				?>
			</div>
			
			<div class="pagination" ><?php echo $paging ?></div>
		</div>	
	</div>
</div>

<?php 
	$this->load->view('footer');
?>
